







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Removes the item at the given index in the Deque. All items at indexes
greater than index move down one index
in the Deque.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public override sealed void RemoveAt( int index ) |
Visual Basic (Declaration) |
---|
Public Overrides NotOverridable Sub RemoveAt ( _ index As Integer _ ) |
Visual C++ |
---|
public: virtual void RemoveAt ( int index ) override sealed |
Parameters
- index
- Int32
The index in the list to remove the item at. The first item in the list has index 0.
Remarks
The amount of time to delete an item in the Deque is proportional
to the distance of index from the closest end of the Deque:
O(Min(index, Count - 1 - index)).
Thus, deleting an item at the front or end of the Deque is always fast; the middle of
of the Deque is the slowest place to delete.
Exceptions
Exception | Condition |
---|---|
System..::ArgumentOutOfRangeException | index is less than zero or greater than or equal to Count. |
See Also
Deque<(Of <T>)> Class
Wintellect.PowerCollections Namespace